
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_ScreeningPlanProDetail))]
    public class YH_ScreeningPlanProDetailDto : Dto
    {
        public Guid? Region { get; set; }

        [ConcurrentKeyToValue("97", "Region")]
        public String RegionName { get; set; }
        [ConcurrentKeyToValue("97", "Region")]
        public String AreaName { get; set; }
        /// <summary>
        /// 隐患排查计划项目ID
        /// </summary>
        public Guid? ScreeningPlanProjectId { get; set; }
        /// <summary>
        /// 排查大类代码
        /// </summary>
        public String SearchMajorCode { get; set; }
        /// <summary>
        /// 隐患类型ID
        /// </summary>
        public Guid? HazardTypeID { get; set; }
        /// <summary>
        /// 排查标准ID
        /// </summary>
        public Guid? StandardID { get; set; }
        /// <summary>
        /// 排查标准内容
        /// </summary>
        public String StandardContent { get; set; }
        /// <summary>
        /// 知识库，基础库，手工 不用字典了 贼麻烦
        /// </summary>
        //[KeyToValue("1001002")]
        public String Type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }

        public Guid? RiskLevel { get; set; }

        [ConcurrentKeyToValue("03", "RiskLevel")]
        public string RiskLevelText { get; set; }

        public SysArea SysArea { get; set; }
        /// <summary>
        /// 隐患排查计划详细ID
        /// </summary>
        public Guid? ScreeningPlanProDetailId { get; set; }
    }
}
